package com.dq.Service;

import com.dq.Pojo.Course;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CouService {

    PageInfo<Course> finAll(Integer pageNum, Integer pageSize, String courseName, String startTime);

    void add(Course course);

    void delete(Integer id);

    void update(Course course);

    List<Course> find();

    Course findByid(Integer id);

    List<Course> findstu(Integer id);
}
